def deal_inquiry_summary_dict(inquiry_summary_dict: dict, data_dict: dict, time_shot: str):
    for k_date, v in data_dict.items():
        for k_currency, pair in v.items():
            for duration, ratio in pair.items():
                if inquiry_summary_dict.__contains__(k_date):
                    if inquiry_summary_dict[k_date].__contains__(k_currency):
                        if inquiry_summary_dict[k_date][k_currency].__contains__(duration):
                            inquiry_summary_dict[k_date][k_currency][duration][time_shot] = ratio
                        else:
                            inquiry_summary_dict[k_date][k_currency][duration] = dict()
                            inquiry_summary_dict[k_date][k_currency][duration][time_shot] = ratio
                    else:
                        inquiry_summary_dict[k_date][k_currency] = dict()
                        inquiry_summary_dict[k_date][k_currency][duration] = dict()
                        inquiry_summary_dict[k_date][k_currency][duration][time_shot] = ratio
                else:
                    inquiry_summary_dict[k_date] = dict()
                    inquiry_summary_dict[k_date][k_currency] = dict()
                    inquiry_summary_dict[k_date][k_currency][duration] = dict()
                    inquiry_summary_dict[k_date][k_currency][duration][time_shot] = ratio
